package com.example.recordingpen_datacollection.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.example.recordingpen_datacollection.entity.Businessdata;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.recordingpen_datacollection.entity.UserMessage;
import com.example.recordingpen_datacollection.entity.Vo.BusinesMaxTimeVo;
import com.example.recordingpen_datacollection.entity.Vo.BusinesVo;
import com.example.recordingpen_datacollection.entity.Vo.LimitDosageVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xg
 * @since 2023-11-29
 */
public interface BusinessdataService extends IService<Businessdata> {
    void saveBusiness(BusinesVo businesVo, Integer defaultValue);

    boolean updateDosage(Businessdata businessdata, QueryWrapper wrapper,Integer value);

    boolean alterBusinesMaxTime(Integer value, BusinesMaxTimeVo businesMaxTimeVo);

    boolean operateLimitDosage(LimitDosageVo limitDosageVo, UserMessage byId);
}
